<meta charset="utf-8">
<?php
	
	/*include_once('init.php');*/

		$row= dei('admin',$_GET['id']);

        if ($row>0) {
        	echo '<script>alert("删除成功");location.href="index.php?c=news&a=news&admin=1";</script>';

        }else{
        	echo '<script>alert("删除失败");history.go(-1);</script>';die;
        }
    
		


		$arr=getselectByone('admin',"`id`='$id'");
   
  include( VIEW_PATH.$admin.'layst.html');


?>
